package com.sailfish.springbootdemo.pojo.db2;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sailfish.springbootdemo.pojo.db4.User;

import java.io.Serializable;
import java.util.Date;

public class PcbApproveConfig implements Serializable {
    private static final long serialVersionUID = -52270293135172981L;

    private Integer id;

    private Integer flowType;
    private String flowTypeName;

    private String approveNode;

    private Integer parentFactoryId;
    private String parentFactoryName;

    private Integer sonFactoryId;
    private String sonFactoryName;
    private PcbSonFactoryInfo pcbSonFactoryInfo;

    private Integer operator;
    private User operatorInfo;

    private Integer operator2;
    private User operatorInfo2;

    private Integer operator3;
    private User operatorInfo3;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    private String createUser;

    private String updateUser;

    private String remark;

    private Integer status;

    private Integer sort;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getFlowType() {
        return flowType;
    }

    public void setFlowType(Integer flowType) {
        this.flowType = flowType;
    }

    public String getFlowTypeName() {
        return flowTypeName;
    }

    public void setFlowTypeName(String flowTypeName) {
        this.flowTypeName = flowTypeName;
    }

    public String getApproveNode() {
        return approveNode;
    }

    public void setApproveNode(String approveNode) {
        this.approveNode = approveNode;
    }

    public Integer getParentFactoryId() {
        return parentFactoryId;
    }

    public void setParentFactoryId(Integer parentFactoryId) {
        this.parentFactoryId = parentFactoryId;
    }

    public String getParentFactoryName() {
        return parentFactoryName;
    }

    public void setParentFactoryName(String parentFactoryName) {
        this.parentFactoryName = parentFactoryName;
    }

    public String getSonFactoryName() {
        return sonFactoryName;
    }

    public void setSonFactoryName(String sonFactoryName) {
        this.sonFactoryName = sonFactoryName;
    }

    public Integer getSonFactoryId() {
        return sonFactoryId;
    }

    public void setSonFactoryId(Integer sonFactoryId) {
        this.sonFactoryId = sonFactoryId;
    }

    public Integer getOperator() {
        return operator;
    }

    public void setOperator(Integer operator) {
        this.operator = operator;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public PcbSonFactoryInfo getPcbSonFactoryInfo() {
        return pcbSonFactoryInfo;
    }

    public void setPcbSonFactoryInfo(PcbSonFactoryInfo pcbSonFactoryInfo) {
        this.pcbSonFactoryInfo = pcbSonFactoryInfo;
    }

    public User getOperatorInfo() {
        return operatorInfo;
    }

    public void setOperatorInfo(User operatorInfo) {
        this.operatorInfo = operatorInfo;
    }

    public Integer getOperator2() {
        return operator2;
    }

    public void setOperator2(Integer operator2) {
        this.operator2 = operator2;
    }

    public User getOperatorInfo2() {
        return operatorInfo2;
    }

    public void setOperatorInfo2(User operatorInfo2) {
        this.operatorInfo2 = operatorInfo2;
    }

    public Integer getOperator3() {
        return operator3;
    }

    public void setOperator3(Integer operator3) {
        this.operator3 = operator3;
    }

    public User getOperatorInfo3() {
        return operatorInfo3;
    }

    public void setOperatorInfo3(User operatorInfo3) {
        this.operatorInfo3 = operatorInfo3;
    }
}